import request from "@/utils/request";

// 审核配置列表

export function listPost_reviewConfig(query) {
  return request({
    url: "/manager/reviewConfig/list",
    method: "get",
    params: query,
  });
}
// 启用禁用前置校验
export function preCheck(id) {
  return request({
    url: `/manager/reviewConfig/changeStatus/preCheck/${id}`,
    method: "get",
  });
}

// 修改配置

export function updatePost_reviewConfig(data) {
  return request({
    url: "/manager/reviewConfig/changeStatus",
    method: "put",
    data: data,
  });
}
